<?php
class Dbb extends Controller {
	function Dbb() {
		parent::Controller();

		$this->load->scaffolding('`0420_order`');
	}

	function index() {
		$this->load->scaffolding('`0420_client`');
		$now = date("Y-m-d H:i:s",time());
		$data = array(
			"`username`"=>"admin",
			"`password`"=>md5("123456"),
			"`role`"=>100,
			"`create`"=>$now,
			"`update`"=>$now,
			"`del`"=>0
		);
		$i_sql = $this->db->insert_string('user',$data);
		echo $i_sql;
		//$this->db->query($i_sql);
	}
}
?>